package com.billow.events
{
	import flash.events.Event;
	
	public class RtmpServerEvent extends Event
	{
		public static const CLIENT_CLOSE:String = "client_close";
		public static const CLIENT_HANDSHAKE:String = "client_handShake";
		public static const CLIENT_INVOKENAME:String = "client_invokeName";
		
		private var _info:Object;
		
		public function RtmpServerEvent(type:String, info:Object=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			_info = info;
		}
		
		public function get invokeName():String {return _info.invokeName;}
		
		public function get remoteAddress():String {return _info.remoteAddress;}
		
		public function get remotePort():uint {return _info.remotePort;}
		
		public function get id():String {return _info.id;}
		
		public function get objectEncoding():uint {return _info.objectEncoding;}
		
		public function get application():String {return _info.application;}
		
		public function get flashVersion():String {return _info.flashVersion;}
		
		public function get swfURL():String {return _info.swfURL;}
		
		public function get tcURL():String {return _info.tcURL;}
		
		public function get pageURL():String {return _info.pageURL;}
	}
}